import { get } from './helpers'

const url = 'https://www.fastmock.site/mock/c864be15993a86610770fc6481bb69d1/mock'

const getSlideList = get(`${url}/api/slideList`)
const getRecommendList = get(`${url}/api/recommendList`)
const getSingerList = get(`${url}/api/singerList`)
const getSingerDetail = get(`${url}/api/singerDetail`)
const getSongUrl = get(`${url}/api/getSong`)
const getSongLyric = get(`${url}/api/getLyric`)
const getDiscDetail = get(`${url}/api/discDetail`)
const getRank = get(`${url}/api/rank`)
const getRankDetail = get(`${url}/api/rankDetail`)
const getHotKey = get(`${url}/api/hotKey`)
const getSearch = get(`${url}/api/search`)

export {
  getSlideList,
  getRecommendList,
  getSingerList,
  getSingerDetail,
  getSongUrl,
  getSongLyric,
  getDiscDetail,
  getRank,
  getRankDetail,
  getHotKey,
  getSearch
}
